<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://www.roughwriter.net/PsychSurvey/AdminServiceWCF.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/PsychSurvey" />
  <xs:import schemaLocation="http://www.roughwriter.net/PsychSurvey/AdminServiceWCF.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import schemaLocation="http://www.roughwriter.net/PsychSurvey/AdminServiceWCF.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:element name="GetSurveyData">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyDataResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Studies" nillable="true" type="q1:ArrayOfStudy" />
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Conditions" nillable="true" type="q2:ArrayOfCondition" />
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Waves" nillable="true" type="q3:ArrayOfStudyWave" />
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="StudyWaveSurveys" nillable="true" type="q4:ArrayOfStudyWaveSurvey" />
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Surveys" nillable="true" type="q5:ArrayOfSurvey" />
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="SurveySurveyPages" nillable="true" type="q6:ArrayOfSurveySurveyPage" />
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Pages" nillable="true" type="q7:ArrayOfSurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ResumeStudy">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
        <xs:element xmlns:q8="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q8:guid" />
        <xs:element minOccurs="0" name="IsTesting" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ResumeStudyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="myStudy" nillable="true" type="q9:Study" />
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="myCondition" nillable="true" type="q10:Condition" />
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="SurveyPages" nillable="true" type="q11:ArrayOfStudyConsolidatedOrderedIndividualResult" />
        <xs:element minOccurs="0" name="NextWaveStartDate" nillable="true" type="xs:dateTime" />
        <xs:element minOccurs="0" name="NextWaveEndDate" nillable="true" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyResults">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q12="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q12:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyResultsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetStudyResultsResult" nillable="true" type="q13:ArrayOfStudyResultsIndividualEmail" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyResults">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q14:guid" />
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyResultsResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyList">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetSurveyListResult" nillable="true" type="q15:ArrayOfSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyList">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetStudyListResult" nillable="true" type="q16:ArrayOfStudy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudy">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q17="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q17:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetStudyResult" nillable="true" type="q18:Study" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateStudy">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateStudyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q19="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="CreateStudyResult" nillable="true" type="q19:Study" />
        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Conditions" nillable="true" type="q20:ArrayOfCondition" />
        <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Waves" nillable="true" type="q21:ArrayOfStudyWave" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateStudy">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="StudyToUpdate" nillable="true" type="q22:Study" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateStudyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateStudyResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudy">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q23="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q23:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteStudyResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyUrl">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q24="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="Study" type="q24:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyUrlResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="GetStudyUrlResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyDevelopmentUrl">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q25="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="Study" type="q25:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyDevelopmentUrlResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="GetStudyDevelopmentUrlResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClaimsNotAdded">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q26="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q26:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClaimsNotAddedResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q27="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetClaimsNotAddedResult" nillable="true" type="q27:ArrayOfClaim" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClaimsAdded">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q28="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q28:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClaimsAddedResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetClaimsAddedResult" nillable="true" type="q29:ArrayOfClaim" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateClaims">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q30="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="Study" type="q30:guid" />
        <xs:element xmlns:q31="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="AllClaims" nillable="true" type="q31:ArrayOfint" />
        <xs:element xmlns:q32="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="AnonymousClaims" nillable="true" type="q32:ArrayOfint" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateClaimsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateClaimsResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetNextSurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q33="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q33:guid" />
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetNextSurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q34="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetNextSurveyPageResult" nillable="true" type="q34:StudyConsolidatedOrderedResults" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPreviousSurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q35="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q35:guid" />
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element xmlns:q36="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q36:guid" />
        <xs:element minOccurs="0" name="SurveyPageId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPreviousSurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q37="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetPreviousSurveyPageResult" nillable="true" type="q37:StudyConsolidatedOrderedResults" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetNextSurveyPage2">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q38="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q38:guid" />
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element xmlns:q39="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q39:guid" />
        <xs:element minOccurs="0" name="SurveyPageId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetNextSurveyPage2Response">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q40="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetNextSurveyPage2Result" nillable="true" type="q40:StudyConsolidatedOrderedResults" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReportSurveyPageResults">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q41="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q41:guid" />
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element xmlns:q42="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q42:guid" />
        <xs:element minOccurs="0" name="SurveyPageId" type="xs:int" />
        <xs:element xmlns:q43="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="Names" nillable="true" type="q43:ArrayOfstring" />
        <xs:element xmlns:q44="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="Values" nillable="true" type="q44:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReportSurveyPageResultsResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteResults">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q45="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q45:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteResultsResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="CountParticipants">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q46="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q46:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CountParticipantsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="TotalParticipants" type="xs:int" />
        <xs:element xmlns:q47="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="ConditionCount" nillable="true" type="q47:ArrayOfConditionCount" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetConditions">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q48="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q48:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetConditionsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q49="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetConditionsResult" nillable="true" type="q49:ArrayOfCondition" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetCondition">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetConditionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q50="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetConditionResult" nillable="true" type="q50:Condition" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateCondition">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q51="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q51:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateConditionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q52="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="CreateConditionResult" nillable="true" type="q52:Condition" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteCondition">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteConditionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteConditionResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateCondition">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q53="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="ConditionToSave" nillable="true" type="q53:Condition" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateConditionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateConditionResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyWaves">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q54="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q54:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyWavesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q55="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetStudyWavesResult" nillable="true" type="q55:ArrayOfStudyWave" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyWavesForConditionId">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyWavesForConditionIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q56="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetStudyWavesForConditionIdResult" nillable="true" type="q56:ArrayOfStudyWave" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyWave">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWave" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyWaveResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q57="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetStudyWaveResult" nillable="true" type="q57:StudyWave" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateStudyWave">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q58="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="myStudyWave" nillable="true" type="q58:StudyWave" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateStudyWaveResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateStudyWaveResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateWave">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q59="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q59:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateWaveResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q60="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="CreateWaveResult" nillable="true" type="q60:StudyWave" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyWave">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyWaveResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteStudyWaveResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyWaveSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyWaveSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteStudyWaveSurveyResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateStudyWaveSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q61="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="mySws" nillable="true" type="q61:StudyWaveSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateStudyWaveSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateStudyWaveSurveyResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateStudyWaveSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q62="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="sws" nillable="true" type="q62:StudyWaveSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateStudyWaveSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q63="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="CreateStudyWaveSurveyResult" nillable="true" type="q63:StudyWaveSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveys">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveysResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q64="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetSurveysResult" nillable="true" type="q64:ArrayOfSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q65="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q65:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q66="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetSurveyResult" nillable="true" type="q66:Survey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q67="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="mySurvey" nillable="true" type="q67:Survey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateSurveyResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyDisplayOrder">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element xmlns:q68="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q68:guid" />
        <xs:element minOccurs="0" name="DisplayOrder" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyDisplayOrderResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateSurveyDisplayOrderResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="RemoveSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
        <xs:element xmlns:q69="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q69:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="RemoveSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="RemoveSurveyResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q70="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="CreateSurveyResult" nillable="true" type="q70:Survey" />
        <xs:element xmlns:q71="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="StudyWaveSurvey" nillable="true" type="q71:StudyWaveSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AssociateExistingSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
        <xs:element xmlns:q72="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q72:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AssociateExistingSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q73="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="AssociateExistingSurveyResult" nillable="true" type="q73:StudyWaveSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyPages">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q74="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q74:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyPagesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q75="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetSurveyPagesResult" nillable="true" type="q75:ArrayOfSurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SurveyPageId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q76="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetSurveyPageResult" nillable="true" type="q76:SurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q77="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="page" nillable="true" type="q77:SurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateSurveyPageResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateSurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q78="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q78:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateSurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q79="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="CreateSurveyPageResult" nillable="true" type="q79:SurveyPage" />
        <xs:element xmlns:q80="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="ssp" nillable="true" type="q80:SurveySurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteSurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q81="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="page" nillable="true" type="q81:SurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteSurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteSurveyPageResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateDisplayOrder">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q82="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q82:guid" />
        <xs:element minOccurs="0" name="SurveyPageId" type="xs:int" />
        <xs:element minOccurs="0" name="DisplayOrder" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateDisplayOrderResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateDisplayOrderResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyPages">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q83="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="pages" nillable="true" type="q83:ArrayOfSurveyPage" />
        <xs:element xmlns:q84="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q84:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyPagesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q85="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="UpdateSurveyPagesResult" nillable="true" type="q85:ArrayOfSurveySurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteSurveySurveyPages">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q86="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q86:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteSurveySurveyPagesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteSurveySurveyPagesResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateSurveySurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q87="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="ssp" nillable="true" type="q87:SurveySurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateSurveySurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="CreateSurveySurveyPageResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="BeginSession">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
        <xs:element xmlns:q88="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q88:guid" />
        <xs:element minOccurs="0" name="IsTesting" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="BeginSessionResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="EndSession">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
        <xs:element xmlns:q89="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q89:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="EndSessionResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="LoginUser">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="Username" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="LoginUserResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="LoginUserResult" type="xs:boolean" />
        <xs:element minOccurs="0" name="UserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>